projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2196e5
)
csd: fix a resizing artifacts when unmaximizing
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 5 Jul 2013 18:25:30 +0000
(14:25 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 5 Jul 2013 19:53:30 +0000
(15:53 -0400)
When using Super-up/down to maximize and unmaximize a csd window,
the titlebar and content was not picking up the window borders.
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 42cf69f416ac9d4bc45a22d5bfb8b243b3a9c34b..737a3b56dcdd099b0d911d88aaaa4132b71ecdd7 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-6619,7
+6619,7
@@
gtk_window_state_event (GtkWidget *widget,
if (event->changed_mask & (GDK_WINDOW_STATE_FULLSCREEN | GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_TILED))
{
update_window_buttons (window);
- gtk_widget_queue_
draw (GTK_WIDGET (window)
);
+ gtk_widget_queue_
resize (widget
);
}
return FALSE;